#
#
#
#
#

module Ph
  
  class Tab < Ph::Container
    
    attr_accessor :tabset
    
    def initialize(title=nil, body=nil)
      super()
      
      @body.add(title) if (title != nil)
      @tabsheet = (body == nil) ? Ph::Container.new : body
      
      self.class_name = 'phtab_hidden'      
      self.onclick = ''
    end
    
  end
end